Skip to content

develop to main#44

Merged
mrdav30 merged 9 commits intomainfrom
develop
Mar 4, 2026
Merged

develop to main#44
mrdav30 merged 9 commits intomainfrom
develop

Conversation

@mrdav30
Copy link
Copy Markdown
Owner

@mrdav30 mrdav30 commented Mar 4, 2026

  • dropped net48 support in favor of netstandard2.1
  • dropped MessagePack for MemoryPack
  • updated xunit to v3
  • dropped ThreadLocalRandom support

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates FixedMathSharp’s supported runtimes and serialization strategy, moving away from legacy .NET Framework/MessagePack toward .NET Standard + MemoryPack, and updates the test/CI setup accordingly.

Changes:

  • Switch serialization attributes and tests from MessagePack/BinaryFormatter to MemoryPack (plus System.Text.Json tests).
  • Update target frameworks (library to netstandard2.1 + .NET 8; tests to .NET 8) and bump xUnit to v3.
  • Simplify CI to run dotnet test on Linux + Windows and modernize GitVersion usage.

Reviewed changes

Copilot reviewed 30 out of 34 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
tests/FixedMathSharp.Tests/Vector3d.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/Vector2d.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/Support/FixedMathTestHelper.cs Formatting-only adjustments in helper assertions.
tests/FixedMathSharp.Tests/FixedRange.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/FixedQuanternion.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/FixedMathSharp.Tests.csproj Move tests to .NET 8 + xUnit v3 packages; adjust test project settings.
tests/FixedMathSharp.Tests/FixedCurveTests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/Fixed64.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/Fixed4x4.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/Fixed3x3.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/DeterministicRandom.Tests.cs Minor using cleanup/reordering.
tests/FixedMathSharp.Tests/Bounds/BoundingSphere.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/Bounds/BoundingBox.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
tests/FixedMathSharp.Tests/Bounds/BoundingArea.Tests.cs Update serialization tests to MemoryPack; remove net48-specific code paths.
src/FixedMathSharp/Utility/DeterministicRandom.cs Whitespace-only changes around argument checks.
src/FixedMathSharp/Numerics/Vector3d.cs Replace MessagePack attributes with MemoryPack equivalents.
src/FixedMathSharp/Numerics/Vector2d.cs Replace MessagePack attributes with MemoryPack equivalents.
src/FixedMathSharp/Numerics/FixedRange.cs Replace MessagePack attributes with MemoryPack equivalents; make type partial for generator.
src/FixedMathSharp/Numerics/FixedQuaternion.cs Replace MessagePack attributes with MemoryPack equivalents; adjust exception text and nullable signature.
src/FixedMathSharp/Numerics/FixedCurveKey.cs Replace MessagePack attributes with MemoryPack equivalents; simplify hashing.
src/FixedMathSharp/Numerics/FixedCurve.cs Replace MessagePack attributes with MemoryPack equivalents; update constructor attribute and indexing.
src/FixedMathSharp/Numerics/Fixed64.cs Replace MessagePack attributes with MemoryPack equivalents.
src/FixedMathSharp/Numerics/Fixed4x4.cs Replace MessagePack attributes with MemoryPack equivalents; make type partial for generator.
src/FixedMathSharp/Numerics/Fixed3x3.cs Replace MessagePack attributes with MemoryPack equivalents; remove unused using.
src/FixedMathSharp/Numerics/Extensions/Fixed64.Extensions.cs Remove unused usings / whitespace cleanup.
src/FixedMathSharp/FixedMathSharp.csproj Update TFMs and replace MessagePack dependency with MemoryPack.
src/FixedMathSharp/Core/FixedTrigonometry.cs Minor whitespace cleanup.
src/FixedMathSharp/Core/FixedMath.cs Minor whitespace cleanup.
src/FixedMathSharp/Bounds/BoundingSphere.cs Replace MessagePack attributes with MemoryPack equivalents; formatting tweaks in Intersects.
src/FixedMathSharp/Bounds/BoundingBox.cs Replace MessagePack attributes with MemoryPack equivalents; refactor Min/Max storage and add serialized version member.
src/FixedMathSharp/Bounds/BoundingArea.cs Replace MessagePack attributes with MemoryPack equivalents; formatting tweaks in Intersects.
README.md Update stated serialization and compatibility docs for MemoryPack + new TFMs.
AGENTS.md Add agent guidance document (currently inconsistent with this PR’s changes).
.github/workflows/dotnet.yml Switch to OS matrix and run dotnet test; modernize GitVersion integration; remove net48/Mono steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@mrdav30
Copy link
Copy Markdown
Owner Author

mrdav30 commented Mar 4, 2026

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Copy Markdown

Copilot AI commented Mar 4, 2026

@mrdav30 I've opened a new pull request, #45, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 3 commits March 3, 2026 23:38
…om review feedback (#45)

* fix: apply PR review feedback - TFMs, exception args, stray semicolons, XML doc, AGENTS.md

Co-authored-by: mrdav30 <11547347+mrdav30@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mrdav30 <11547347+mrdav30@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 4, 2026 04:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 31 out of 35 changed files in this pull request and generated 17 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@mrdav30
Copy link
Copy Markdown
Owner Author

mrdav30 commented Mar 4, 2026

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Copy Markdown

Copilot AI commented Mar 4, 2026

@mrdav30 I've opened a new pull request, #46, to work on those changes. Once the pull request is ready, I'll request review from you.

…, CI internal PRs, nullable deserialization, per-arg quaternion exceptions (#46)

* Initial plan

* Apply review feedback: rename MsgPack tests, fix Union Version, CI workflow, null check, separate exceptions

Co-authored-by: mrdav30 <11547347+mrdav30@users.noreply.github.com>

* Update src/FixedMathSharp/Bounds/BoundingBox.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mrdav30 <11547347+mrdav30@users.noreply.github.com>
Co-authored-by: mrdav30 <david.oravsky@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mrdav30 mrdav30 merged commit ecc188b into main Mar 4, 2026
4 checks passed
@mrdav30 mrdav30 deleted the develop branch March 4, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants